package com.longcheng.study;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("nacos-provider")
public interface SchedualService {
    @GetMapping("/hello")
    String hello(@RequestParam(value = "name", defaultValue = "hadron", required = false) String name);
}
